<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="box"></div>
    <script src="js/common.js"></Script>
        <Script>
            var box = my$("box");
            var names = ["李白","杜甫","王维","孟浩然","白居易","刘禹锡"];
            var ul = document.createElement("ul")
            box.appendChild(ul);
            for(var i = 0; i<names.length;i++){
                var li = document.createElement("li");
                ul.appendChild(li);
                li.innerText = names[i];
            }   
        </script>   
</body>
</html>